A coalition agreement is a written or unwritten understanding between two or more political parties to form a government. It outlines the terms and conditions under which they will work together, including policy commitments, cabinet positions, and other areas of cooperation. The purpose of such an agreement is to provide stability for the new government by ensuring that all parties involved have a clear understanding of their roles and responsibilities.